package Entity;

/**
 *
 * @author CONG
 */
public class Role {
    private int roleCode;
    private String name;
    private int loanTypeCode;

    public Role() {
    }

    public Role(int roleCode, String name, int loanTypeCode) {
        this.roleCode = roleCode;
        this.name = name;
        this.loanTypeCode = loanTypeCode;
    }
    public Role( String name, int loanTypeCode) {
        this.name = name;
        this.loanTypeCode = loanTypeCode;
    }
    public int getLoanTypeCode() {
        return loanTypeCode;
    }

    public void setLoanTypeCode(int loanTypeCode) {
        this.loanTypeCode = loanTypeCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(int roleCode) {
        this.roleCode = roleCode;
    }
    
}
